package wt.dao.business;

import base.IBaseMapperWithoutBLOBs;
import org.apache.ibatis.annotations.Param;
import wt.entity.business.BusinessInfo;
import wt.entity.business.BusinessInfoExample;

import java.util.Date;
import java.util.List;

public interface BusinessInfoMapper extends IBaseMapperWithoutBLOBs<BusinessInfo, BusinessInfoExample> {

    /**
     * 查询
     * @param observerName
     * @param managerName
     * @param inspectorName
     * @param checkStartTime  核查开始时间
     * @param checkEndTime    核查结束时间
     * @param companyName
     * @param productName
     * @param observerIsReport
     * @param observerIsAssess
     * @param managerIsAssess
     * @return
     */
    List<BusinessInfo> select(
            @Param("observerName") String observerName,
            @Param("managerName") String managerName,
            @Param("inspectorName") String inspectorName,
            @Param("checkStartTime") Date checkStartTime,
            @Param("checkEndTime") Date checkEndTime,
            @Param("companyName") String companyName,
            @Param("productName") String productName,
            @Param("observerIsReport") Short observerIsReport,
            @Param("observerIsAssess") Short observerIsAssess,
            @Param("managerIsAssess")  Short managerIsAssess,
            @Param("companyIsAssess")  Short companyIsAssess
    );



}